<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>{$seo_title}</title>
		<meta name="Keywords" content="{$seo_keywords}">
		<meta name="Description" content="{$seo_description}">
		{include file="book@web_public/head_static" /}
		<link href="__WEB__css/book.css" rel="stylesheet" />
	</head>
	<body>
		{include file="book@web_public/head" /}
		<div class="content all">
			<div class="container">
				<div class="row">
					<div class="col-md-3">
						<div class="all-select-list">
							<div class="all-work-filter">
								<h4>分类</h4>
								<dl>
									<dd {if !$Request.route.catid}class="asl-active"{/if}><a href="{:url('book/book/all',array_merge($Request.route,['catid'=>0]))}">全部</a></dd>
									{volist name="book_categorys" id="vo"}
									<dd {if (int)$Request.route.catid == $vo.id}class="asl-active"{/if}><a href="{:url('book/book/all',array_merge($Request.route,['catid'=>$vo.id]))}">{$vo.name}</a></dd>
									{/volist}
								</dl>
							</div>
							<div class="all-work-filter">
								<h4>状态</h4>
								<dl>
									<dd {if is_numeric($Request.route.action)}class="asl-active"{/if}><a href="{:url('book/book/all',array_merge($Request.route,['action'=>0]))}">全部</a></dd>
									<dd {if $Request.route.action == 'N'}class="asl-active"{/if}><a href="{:url('book/book/all',array_merge($Request.route,['action'=>'N']))}">连载</a></dd>
									<dd {if $Request.route.action == 'Y'}class="asl-active"{/if}><a href="{:url('book/book/all',array_merge($Request.route,['action'=>'Y']))}">完本</a></dd>
								</dl>
							</div>
							<div class="all-work-filter">
								<h4>属性</h4>
								<dl>
									<dd {if is_numeric($Request.route.vip)}class="asl-active"{/if}><a href="{:url('book/book/all',array_merge($Request.route,['vip'=>0]))}">全部</a></dd>
									<dd {if $Request.route.vip == 'N'}class="asl-active"{/if}><a href="{:url('book/book/all',array_merge($Request.route,['vip'=>'N']))}">免费</a></dd>
									<dd {if $Request.route.vip == 'Y'}class="asl-active"{/if}><a href="{:url('book/book/all',array_merge($Request.route,['vip'=>'Y']))}">VIP</a></dd>
								</dl>
							</div>
							<div class="all-work-filter">
								<h4>字数</h4>
								<dl>
									<dd {if (int)$Request.route.size == 0}class="asl-active"{/if}><a href="{:url('book/book/all',array_merge($Request.route,['size'=>0]))}">全部</a></dd>
									<dd {if (int)$Request.route.size == 1}class="asl-active"{/if}><a href="{:url('book/book/all',array_merge($Request.route,['size'=>1]))}">30万字以下</a></dd>
									<dd {if (int)$Request.route.size == 2}class="asl-active"{/if}><a href="{:url('book/book/all',array_merge($Request.route,['size'=>2]))}">30-50万字</a></dd>
									<dd {if (int)$Request.route.size == 3}class="asl-active"{/if}><a href="{:url('book/book/all',array_merge($Request.route,['size'=>3]))}">50-100万字</a></dd>
									<dd {if (int)$Request.route.size == 4}class="asl-active"{/if}><a href="{:url('book/book/all',array_merge($Request.route,['size'=>4]))}">100-200万字</a></dd>
									<dd {if (int)$Request.route.size == 5}class="asl-active"{/if}><a href="{:url('book/book/all',array_merge($Request.route,['size'=>5]))}">200万字以上</a></dd>
								</dl>
							</div>
						</div>
					</div>
					<div class="col-md-9">
						<div class="all-bookList row">
							{volist name="list" id="vo" key="k"}
								<div class="abl-item col-md-6">
									<div class="abl-item-box clearfix">
										<div class="abl-item-cover pull-left"><a href="{$vo.url}" target="_blank"><img src="{$vo.cover}"></a></div>
										<div class="abl-item-main pull-right">
											<div class="abl-item-name"><a href="{$vo.url}" target="_blank">{$vo.name}</a></div>
											<div class="abl-item-type"><i class="fa fa-user-circle"></i>{$vo.author} | {$vo.catid} | {$vo.full_flag}</div>
											<div class="abl-item-intro">{$vo.intro}</div>
											<div class="abl-item-words">{$vo.sum_words} 万字</div>
										</div>
									</div>
								</div>
								{if ($k%2)==0}<div class="alb-line clearfix"></div>{/if}
							{/volist}
						</div>
						<div class="text-right">{$list->render()}</div>
					</div>
				</div>
			</div>
		</div>
		{include file="book@web_public/foot" /}
		<script>
			$(function(){
				$(".all-work-filter dl").each(function(){
					if(!$(this).children('dd').hasClass('asl-active')){
						$(this).children('dd:first').addClass('asl-active');
					}
				});
			});
		</script>
	</body>
</html>